	<?php echo form_open('login/process'); ?>
		Username: 
		<input type="text" name="uname" value="<?php echo set_value('uname'); ?>" size="15" />
		<?php echo form_error('uname'); ?>
		</br></br>
		Password: 
		<input type="password" name="password" value="<?php echo set_value('password'); ?>" size="20" />	
		<?php echo form_error('password'); ?>
		</br></br>
		Log in as: 
		<select name="role">
			<option value="1" <?php echo set_select('role','1'); ?>>Administrator</option>
			<option value="2" <?php echo set_select('role','2'); ?>>Encoder</option>
			<option value="3" <?php echo set_select('role','3'); ?>>Student</option>
			<option value="4" <?php echo set_select('role','4'); ?>>Instructor</option>			
		</select>	
		<?php echo form_error('role'); ?>
		</br></br>
		<input type="submit" name="Log In" value="Log In" />
	<?php echo form_close(); ?>
	
	<?php echo form_open('login/signup'); ?>
		<h1>Sign Up</h1>
		Last Name: 
		<input type="text" name="lname" value="<?php echo set_value('lname'); ?>" size="15" />
		<?php echo form_error('lname'); ?>
		</br></br>
		First Name: 
		<input type="text" name="fname" value="<?php echo set_value('fname'); ?>" size="20" />
		<?php echo form_error('fname'); ?>
		</br></br>
		Middle Initial: 
		<input type="text" name="minitial" value="<?php echo set_value('minitial'); ?>" size="3" />
		<?php echo form_error('minitial'); ?>
		</br></br>
		Student Number: 
		<input type="text" name="stdno" value="<?php echo set_value('stdno'); ?>" size="9" />
		<?php echo form_error('stdno'); ?>
		</br></br>
		Email Address: 
		<input type="text" name="email" value="<?php echo set_value('email'); ?>" size="15	" />
		<?php echo form_error('email'); ?>
		</br></br>
		Username: 
		<input type="text" name="username" value="<?php echo set_value('username'); ?>" size="15" />
		<?php echo form_error('username'); ?>
		</br></br>
		Password: 
		<input type="password" name="pw1" value="<?php echo set_value('pw1'); ?>" size="15" />
		<?php echo form_error('pw1'); ?>
		</br></br>
		Confirm Password:
		<input type="password" name="pw2" value="<?php echo set_value('pw2'); ?>" size="15" />
		<?php echo form_error('pw2'); ?>
		</br></br>
		<input type="submit" name="Sign Up" value="Sign Up"/>
	<?php echo form_close(); ?>